package com.qch.demo_command;

import java.io.IOException;
import java.util.ArrayList;

/**
 * @Author qch
 * @Date 2021/8/12
 */
public class Demo9JVisualVM {
    public static void main(String[] args) throws IOException, InterruptedException {
        System.in.read();
        fun();
        System.in.read();

    }

    public static void fun() throws InterruptedException {
        ArrayList<Capacity> capacities = new ArrayList<Capacity>();
        for (int i = 0; i < 10000; i++) {
            Thread.sleep(400);
            capacities.add(new Capacity());
        }
    }
}
class Capacity{
    private byte[]big=new byte[8*1024*1024];//8
        }
